package com.godtree.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 *
 * </p>
 *
 * @author lisicheng
 * @since 2022-08-03
 */
@TableName("tb_rank_data_mapping")
public class RankDataMapping implements Serializable {

  private static final long serialVersionUID = 1L;

  /**
   * 主键
   */
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  /**
   * 排名id
   */
  private String rankId;

  /**
   * 映射前名称
   */
  private String name;

  /**
   * 映射后名称
   */
  private String alias;

  /**
   * 修改时间
   */
  private LocalDateTime updateTime;

  /**
   * 创建时间
   */
  private LocalDateTime createTime;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getRankId() {
    return rankId;
  }

  public void setRankId(String rankId) {
    this.rankId = rankId;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public String getAlias() {
    return alias;
  }

  public void setAlias(String alias) {
    this.alias = alias;
  }

  public LocalDateTime getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(LocalDateTime updateTime) {
    this.updateTime = updateTime;
  }

  public LocalDateTime getCreateTime() {
    return createTime;
  }

  public void setCreateTime(LocalDateTime createTime) {
    this.createTime = createTime;
  }

  @Override
  public String toString() {
    return "RankDataMapping{" +
        "id=" + id +
        ", rankId=" + rankId +
        ", name=" + name +
        ", alias=" + alias +
        ", updateTime=" + updateTime +
        ", createTime=" + createTime +
        "}";
  }
}
